//
//  BezierPathView.h
//  dolin_demo
//
//  Created by dolin on 16/9/23.
//  Copyright © 2016年 shaolin. All rights reserved.
//

#import <UIKit/UIKit.h>

#define degreesToRadian(x) (M_PI * (x) / 180.0)
#define radianToDegrees(radian) (radian * 180.0) / (M_PI)

typedef NS_ENUM(NSUInteger, BezierPathType) {
    kDefaultPath      = 1, // 三角形
    kRectPath         = 2, // 矩形
    kCirclePath       = 3, // 圆
    kOvalPath         = 4, // 椭圆
    kRoundedRectPath  = 5, // 带圆角的矩形
    kArcPath          = 6, // 弧
    kSecondBezierPath = 7, // 二次贝塞尔曲线
    kThirdBezierPath  = 8  // 三次贝塞尔曲线
};

@interface BezierPathView : UIView

@property (nonatomic, assign) BezierPathType type;

@end
